//
//  FlagCollectionViewCell.m
//  CollectionFlag
//
//  Created by student on 16/3/9.
//  Copyright © 2016年 NIIT. All rights reserved.
//

#import "FlagCollectionViewCell.h"

@implementation FlagCollectionViewCell

- (void)setFlag:(FlagModel *)flag
{
    _flag = flag;
    self.imageView.image = [UIImage imageNamed:flag.imageName];
    self.flagLabel.text = flag.name;
}
@end
